www.gusucode.com > wxApp PHP版微信小程序CMS系统 v1.0PHP源码程序 > wxApp PHP版微信小程序CMS系统 v1.0/wxAppCMS_v1.0.0/wxAppCMS_v1.0.0/app/weixin/weixin_category.admincp.php

    <?php
/**
* iCMS - i Content Management System
* Copyright (c) 2007-2017 iCMSdev.com. All rights reserved.
*
* @author icmsdev <master@icmsdev.com>
* @site https://www.icmsdev.com
* @licence https://www.icmsdev.com/LICENSE.html
*/
defined('iPHP') OR exit('What are you doing?');

class weixin_categoryAdmincp extends categoryAdmincp {
    public function __construct() {
        parent::__construct(iCMS_APP_WEIXIN,'category');
        $this->category_name   = "分类";
        $this->_app            = 'weixin';
        $this->_app_name       = '公众号';
        $this->_app_table      = 'weixin';
        $this->_app_cid        = 'cid';
    }
    public function do_add($default=null){
        $this->_view_tpl_dir = $this->_app;
        parent::do_add(array('status'=> '2'));
    }
}